﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class _Default : System.Web.UI.Page
{
    FormulaDAO dao;
    Formula formula;
    protected void Page_Load(object sender, EventArgs e)
    {
        dao = new FormulaDAO();
        formula = new Formula();
        load_cbb();
    }
    public void load_cbb()
    {
        DataSet ds = new DataSet();
        ds = dao.getcbb();
        DropDownList1.DataSource = ds.Tables[0];
        DropDownList1.DataTextField = "Animal";
        DropDownList1.DataValueField = "AnimalID";
        DropDownList1.DataBind();
    }
    protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
    {

    }
}